﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace iS3.DAL
{
    public class iS3DbEntityEntry
    {
        //
        // 摘要:
        //     Gets or sets the state of the entity.
        public EntityState State { get; set; }
        //
        // 摘要:
        //     Gets the entity.
        public object Entity { get; }
    }

    //
    // 摘要:
    //     Instances of this class provide access to information about and control of entities
    //     that are being tracked by the System.Data.Entity.DbContext. Use the Entity or
    //     Entities methods of the context to obtain objects of this type.
    //
    // 类型参数:
    //   TEntity:
    //     The type of the entity.
    public class iS3DbEntityEntry<TEntity> where TEntity : class
    {
        //
        // 摘要:
        //     Gets or sets the state of the entity.
        public EntityState State { get; set; }
        //
        // 摘要:
        //     Gets the entity.
        public TEntity Entity { get; }
    }
}
